<!DOCTYPE html>
<html>
    <head>
    	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    	<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>/css/bootstrap/bootstrap.min.css" />
    	<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>/css/bootstrap/bootstrap-theme.min.css" />
    	<link rel="stylesheet" type="text/css" href="<?php echo $baseUrl; ?>/css/shop.css" />  	
		<script src="<?php echo $baseUrl; ?>/js/modernizr.custom.js"></script>
    	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
    </head>
    <body>
        <div class="wrap">
            <div class="logo"></div>
            <div class="layout">
                <header>
                    <nav>
                        <ul>
                            <li><a href="#">Заказы</a></li>
                            <li><a href="#">Мои отклики</a></li>
                            <li><a href="<?php echo $baseUrl.$this->createUrl('settings/profile')?>">Настройки</a></li>
                            <li><a href="<?php echo $baseUrl.$this->createUrl('/site/logout')?>">Выход</a></li>
                        </ul>
                    </nav>
                </header>
	        <?php echo $content ?>
            </div>

        </div>
		<script type="text/javascript" src="<?php echo $baseUrl; ?>/js/jquery/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="<?php echo $baseUrl; ?>/js/bootstrap/bootstrap.min.js"></script>
        <script type="text/javascript" src="<?php echo $baseUrl; ?>/js/bootstrap/typeahead.min.js"></script>
		<script>
			var TOKEN = '<?php echo Yii::app()->request->csrfToken;?>';
        	var TOKEN_NAME = '<?php echo Yii::app()->request->csrfTokenName;?>';
        	var BASE_URL = '<?php echo $baseUrl;?>';
		</script>
    </body>
</html>